package com.example.book.in.dao;

import com.example.book.base.BaseDao;
import com.example.book.in.entity.BookCatalog;
import org.apache.ibatis.annotations.Mapper;

import java.awt.print.Book;

/**
 * @author hcj
 */
@Mapper
public interface BookCatalogDao extends BaseDao<BookCatalog> {
    BookCatalog selectOrderByIndexDesc(BookCatalog catalog);

    BookCatalog selectOrderByIndexAsc(BookCatalog catalog);

    BookCatalog previousChapterOrNextChapter(BookCatalog catalog);
}